package com.lyk.coursearrange.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lyk.coursearrange.entity.Schedule;
import com.lyk.coursearrange.entity.Student;
import com.lyk.coursearrange.entity.dto.StudentDto;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

@Mapper
public interface ScheduleDao extends BaseMapper<Schedule> {

    List<Schedule> selectschedule(@Param("teacher_id") Long teacher_id,@Param("start_time") String start_time, @Param("end_time") String end_time, @Param("page") Long offset, @Param("limit") Long limit);

    List<StudentDto> selectliststudentid(@Param("schedule_id") Long schedule_id,@Param("realname")String realname);

    String selectteachername(@Param("teacherId") Long teacherId);
}
